package org.example.service;


import org.example.entity.Fruit;

import java.math.BigDecimal;

public interface QuestionsService {


    /**
     * 计算总价格
     * @param fruit
     * @return
     */
    BigDecimal calculatePrice(Fruit[] fruit);

}
